package main

import (
	"fmt"
)

func main() {
	/*
	猴子分桃：
	 */
	for i := 6; i <= 10000; i += 5 {
		s := i
		count := 0

		for (s - 1) % 5 == 0 {
			count++
			if count == 5 {
				fmt.Println("满足条件的桃子数：", i)
				break
			}
			s = (s - 1) / 5 * 4

		}
	}
}
